import { Injectable } from '@angular/core';
import { HttpClientService } from '../../../../services/http-client.service';

@Injectable()
export class FundInfoHistoryService {

  constructor(
    public httpClient: HttpClientService
  ) { }
  // 查询单个产品基础信息
  getSingleProductInfo(item) {
    return this.httpClient.get('/pms/v1/publicissue/publicBasic/' + item.nFundNo);

  }
  //查询单个产品审核信息
  getSingleCheckInfo(item) {
    return this.httpClient.get('/pms/v1/publicissue/publicissueExamine/' + item.nFundNo);
  }
  // 获取附件树
  getFileTree(getBody) {
    return this.httpClient.get('/pms/v1/common/fundFile/attachTree', getBody);
  }
  // 获取文件历史版本
  getFileHistory(getBody) {
    return this.httpClient.get('/pms/v1/common/fundFile/versions/' + getBody);
  }
  // 基金经理
  getManagerList() {
    return this.httpClient.get('/pms/v1/common/manager/managerList');
  }
}
